package com.wza.designPattern.CommandPattern;

/**
 * <一句话功能简述>
 * <功能详细描述>
 *
 * @author Administrator
 * @version [版本号, 2018/11/26]
 * @see [相关类/方法]
 * @since [产品/模块版本]
 */
public class SellStock implements Order
{
    private Stock abcStock;

    public SellStock(Stock abcStock){
        this.abcStock = abcStock;
    }

    @Override
    public void execute() {
        abcStock.sell();
    }
}
